package airplane.com.example.service;

import airplane.com.example.entry.Airplane;
import airplane.com.example.entry.User;
import airplane.com.example.utilities.Result;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface UserService {
    Result queryUserList(User user);
    Result register(User user);
    public Result login(User user);
    public Result deleteUser(User user);

    // 分页查询
    List<User> findByPage(Integer currentPage, Integer pageSize);

    // 查询总页数
    int findTotal();
}
